<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            text-decoration: none;
            color: black;
            padding: 20px;

        }
        .pagind.active{
            background-color: aqua;
            color: aquamarine;
        }
        .pagind a:hover:not(.active){
            
        }
    </style>
</head>
<body>
    <div class="pagind">
        <a href="#">&lt;&lt;</a>
        <a href="#">1</a>
        <a href="#" class="active">2</a>
        <a href="#">3</a>
        <a href="#">4</a>
        <a href="#">&gt;&gt;</a>
    </div>

</body>
</html>